/*
 Navicat Premium Data Transfer

 Source Server         : localMySql
 Source Server Type    : MySQL
 Source Server Version : 80028
 Source Host           : localhost:3306
 Source Schema         : just_do_it

 Target Server Type    : MySQL
 Target Server Version : 80028
 File Encoding         : 65001

 Date: 16/11/2022 17:04:16
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for article
-- ----------------------------
DROP TABLE IF EXISTS `article`;
CREATE TABLE `article` (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '文章id',
  `article_title` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '文章标题',
  `article_content` text COLLATE utf8mb4_general_ci NOT NULL COMMENT '文章内容',
  `article_author` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '文章作者名称',
  `publish_time` date NOT NULL COMMENT '发布时间',
  `file_id` int NOT NULL COMMENT '文件id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='文章表';

-- ----------------------------
-- Records of article
-- ----------------------------
BEGIN;
INSERT INTO `article` (`id`, `article_title`, `article_content`, `article_author`, `publish_time`, `file_id`) VALUES (1, 'Java开发手册(黄山版)', '…………', '孤尽', '2022-11-11', 8);
INSERT INTO `article` (`id`, `article_title`, `article_content`, `article_author`, `publish_time`, `file_id`) VALUES (2, 'Java开发手册', '…………', '孤尽', '2022-11-11', 2);
INSERT INTO `article` (`id`, `article_title`, `article_content`, `article_author`, `publish_time`, `file_id`) VALUES (3, 'Java开发手册', '…………', '孤尽', '2022-11-12', 3);
INSERT INTO `article` (`id`, `article_title`, `article_content`, `article_author`, `publish_time`, `file_id`) VALUES (4, 'Java开发手册', '…………', '孤尽', '2022-11-15', 9);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
